﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PCS_Linh.lab02
{
    class PlaceHolderDemo
    {
        public void run()
        {
            Console.WriteLine("Please enter the numerator: ");
            int numerator = int.Parse(Console.ReadLine());
            Console.WriteLine("Please enter the demominator: ");
            int demominator = int.Parse(Console.ReadLine());

            if (demominator == 0)

                Console.WriteLine("The demominator can't equal with 0");
            else

                Console.WriteLine("The result is: {0}", Convert.ToDouble(numerator) / demominator);

        }
    }
}
